﻿<Window x:Class="WPFMultitouchDemo.CalibrationWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="CalibrationWindow" Height="300" Width="300" WindowState="Maximized" WindowStyle="None" 
    Background="Black" ShowInTaskbar="False">
    <Canvas Background="Transparent" >
        <Canvas.Resources>
            <Style TargetType="{x:Type Button}">
                <Setter Property="Height" Value="30" />
                <Setter Property="Width" Value="30" />
                <Setter Property="Background" Value="Blue" />
                <Setter Property="OverridesDefaultStyle" Value="True"/>
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="Button">
                        <Grid>
                                <Ellipse Fill="{TemplateBinding Background}" />
                                <ContentPresenter HorizontalAlignment="Center"
                        VerticalAlignment="Center"/>
                        </Grid>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>

            </Style>
        </Canvas.Resources>
        <Button Name="btnCalibrate" Click="btnCalibrate_click" Background="White" Canvas.Left="0" Canvas.Top="0">
            <Grid>
                <Ellipse Height="10" Width="10" Fill="Black" />
            </Grid>
        </Button>
    </Canvas>
</Window>
